using System.ComponentModel.DataAnnotations.Schema;

namespace RBAC.Domain.Department
{
    /// <summary>
    /// 部门管理类
    /// </summary>
    [Table("Department")]
    public class DepartmentManagement : BaseEntity
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// 父部门ID
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }
}
